package com.example.shop.service;

import com.example.shop.domain.Goods;
import com.example.shop.domain.User;

import java.util.List;

public interface UserService {
    User findUserByName(String username);

    void register(String username, String password, String contact);

    void update(User tuser);

    void updateAvatar(String string);

    void updatePwd(String newPwd);

    List<User> getAllUser(User user);
}
